import request from '@/utils/request'

/* *
 * 获取所有权限列表
 */
export const getRightsList = type => request(`rights/${type}`)

/* *
 * 左侧菜单权限
 */
export const getMenus = () => request('menus')
